@import "./sass/_variable";
.checkListBg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
}
.checkList {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  height: 400rem / $baseFontSize;
  background-color: #fff;
  * {
    box-sizing: border-box;
  }
}

.checkListHead {
  display: block;
  position: relative;
  padding: 0 15rem / $baseFontSize;
  height: 42rem / $baseFontSize;
  line-height: 42rem / $baseFontSize;
  font-size: 16rem / $baseFontSize;
  overflow: hidden;

  &:after {
    @include scaleBottom;
  }

  span {
    float: left;
    display: block;
    color: #333;
  }

  a {
    float: right;
    padding: 4rem / $baseFontSize 8rem /$baseFontSize;
    border-radius: 3px;
    background-color: #09BB07;
    color: #fff;
    line-height: 1;
    margin-top: 9rem /$baseFontSize;
  }
}

.checkListBody {
  position: absolute;
  top: 42rem / $baseFontSize;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  overflow-y: auto;
  & > p {
    position: relative;
    padding: 0 15rem / $baseFontSize;
    height: 36rem / $baseFontSize;
    line-height: 36rem / $baseFontSize;

    &:after {
      @include scaleBottom;
    }
  }
  label, span {
    display: block;
  }
  input {
    display: none;
    &:checked + span {
      background: url("../images/gou.png") no-repeat right center;
    }
  }
}
